package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.RewardPunishRecord;

public interface RewardPunishRecordMapper {

	public int deleteRewardPunishRecordById(long id);

	public RewardPunishRecord selectRewardPunishRecordById(long id);

	public List<RewardPunishRecord> selectRewardPunishRecordByMap(Map<String,Object> map);

	public List<RewardPunishRecord> selectRewardPunishRecord(RewardPunishRecord rewardPunishRecord);

	public List<RewardPunishRecord> selectAllRewardPunishRecord();

	public int insertRewardPunishRecord(RewardPunishRecord rewardPunishRecord);

	public int updateRewardPunishRecord(RewardPunishRecord rewardPunishRecord);

	public int deleteRewardPunishRecord(RewardPunishRecord rewardPunishRecord);

	public int updateRewardPunishRecordByMap(Map<String,Object> map);

	public int deleteRewardPunishRecordByMap(Map<String,Object> map);
	public int getAllRewardPunishRecordCounts();
	public int getRewardPunishRecordCounts(RewardPunishRecord rewardPunishRecord);
	public int getRewardPunishRecordCountsByMap(Map<String,Object> map);
}
